package b.r;

import android.animation.TypeEvaluator;
import android.graphics.Rect;

/* compiled from: RectEvaluator */
public class b implements TypeEvaluator<Rect> {
    public Object evaluate(float f, Object obj, Object obj2) {
        Rect rect = (Rect) obj;
        Rect rect2 = (Rect) obj2;
        int i = rect.left;
        i += (int) (((float) (rect2.left - i)) * f);
        int i2 = rect.top;
        i2 += (int) (((float) (rect2.top - i2)) * f);
        int i3 = rect.right;
        i3 += (int) (((float) (rect2.right - i3)) * f);
        int i4 = rect.bottom;
        return new Rect(i, i2, i3, i4 + ((int) (((float) (rect2.bottom - i4)) * f)));
    }
}
